#include "my_draw.h"

//void my_draw(Mat &img)
//{
//    // 边线与中线
//    for (int Ysite = RESULT_HEIGHT - 1; Ysite >= image_info.ImageStatus.OFFLine; Ysite--)
//    {
//        Rect LeftBorder(image_info.ImageDeal[Ysite].LeftBorder, Ysite, 1, 1);
//        rectangle(img, LeftBorder, Scalar(127), -1);

//        Rect RightBorder(image_info.ImageDeal[Ysite].RightBorder, Ysite, 1, 1);
//        rectangle(img, RightBorder, Scalar(127), -1);

//        Rect Center(image_info.ImageDeal[Ysite].Center, Ysite, 1, 1);
//        rectangle(img, Center, Scalar(50), -1);
//    }
//    // 截止线
//    if (image_info.ImageStatus.OFFLine < 70)
//        for (int Xsite = 0; Xsite < RESULT_WIDTH - 2; Xsite++)
//        {
//            Rect OFFLine(Xsite, 73, 1, 1);
//            rectangle(img, OFFLine, Scalar(127), -1);
//        }
//    else
//        for (int Xsite = 0; Xsite < RESULT_WIDTH - 2; Xsite++)
//        {
//            Rect OFFLine(Xsite, image_info.ImageStatus.OFFLine, 1, 1);
//            rectangle(img, OFFLine, Scalar(127), -1);
//        }
//}
